CommonsBooking\Model\Booking A

Total Complexity 52
Dependencies 11
Dependents 4
Total lines 374
Lines of code 205
Logical lines of code 104
Comment lines 103
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
bookingActionButton()
A
53 8 23
assignBookableTimeframeFields()
S
48 5 38
formattedBookingCode()
S
59 6 13
bookingNotice()
S
57 5 17
returnDatetime()
S
55 4 18
pickupDatetime()
S
56 4 18
getBookingStateLabel()
S
62 4 13
getBookableTimeFrame()
S
59 2 14
formattedBookingDate()
S
63 2 10
getLocation()
S
69 2 7
sanitizeTimeField()
S
65 2 9
getItem()
S
69 2 7
showBookingCodes()
S
79 1 3
getStartDate()
S
80 1 3
getEndDate()
S
80 1 3
returnComment()
S
80 1 3
getBookingCode()
S
79 1 3
bookingLink()
S
76 1 3